package util;

import java.util.ArrayList;

public class PointList extends ArrayList<Point> {

	public PointList() {
		super();
	}

	public void addPoint(Point p) {
		super.add(p);
	}

	public Point get(int i) {
		return super.get(i);
	}

	public String toString() {
		StringBuilder sb = new StringBuilder();
		for (int i = 0; i < super.size(); i++) {
			sb.append(super.get(i).toString() + "\n");
		}
		return sb.toString();
	}
}
